﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Quadrant.domain.Models
{
    public class Quadrant
    {
        [Key]
        public Guid Id { get; set; }
        [Required]
        public virtual QuadrantUser Owner { get; set; }

        [StringLength(128)]
        public String Name { get; set; }

        [ForeignKey("Owner")]
        public Guid OwnerId { get; set; }

        public virtual ICollection<Zone> Zones { get; set; }
        public virtual ICollection<Stick> Sticks { get; set; }
    }
}
